package com.xiuluo.dubbotest.service;


import com.xiuluo.dubbotest.model.po.CachePO;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author idea
 * @date 2020/2/26
 * @version V1.0
 */
public interface CacheService {

    Integer saveCache(String key, Object value);

    <T> T getCache(String key,Class<T> clazz);

}
